import sun.awt.geom.AreaOp;

import java.sql.SQLOutput;

public class practice1 {
    public static void main(String[] args) {

        int x = 1 , y = 2 ;
        System.out.println((x + y>0)&(x-y<0));
        System.out.println((x + y>0)|(x-y<0));
        System.out.println((x + y>0)^(x-y<0));
        System.out.println(!(x + y>0));
        System.out.println(!(x - y<0));
        System.out.println((x + y>0)&&(x-y<0));
        System.out.println((x + y>0)||(x-y<0));
        System.out.println();

        System.out.println((x + y>0)| y++ >1);
        System.out.println(y);
        System.out.println((x + y>0)|| y++ >1);
        System.out.println(y);


        /*String s1="think";
        String s2="Think";
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s1==s2);

        System.out.println(x < y);
        System.out.println(x <= y);
        System.out.println(x > y);
        System.out.println(x >= y);
        System.out.println(x == y);*/


    }
}
